package com.yifan.spring.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @Author YIFan
 * @Date 2021/4/23 13:14
 * @Version 1.0
 */

@Component
@Aspect
public class MyAspect {

    @Before("execution(* com.yifan.spring.service.UserService.test())")
    public void beforeMethod(){

    }
}
